package com.joysuch.wwyt.api.basedata.service;

import com.joysuch.wwyt.dzhapi.dto.BuildDataDto;
import org.springframework.web.multipart.MultipartFile;

/**
 * @Author ZhaoQiuWei
 * @Date 2021/7/22 17:06
 */
public interface BaseImageSyncService {

    byte syncPeopleHeadImage(Long imgId, String uniqueId, String buildId, String loginToken, byte failFlag);

    byte apiSyncPeopleHeadImage(Long imgId, String uniqueId, String buildId, String loginToken, byte failFlag, BuildDataDto dto);

    boolean syncPeopleCap(MultipartFile cover1, String originPath, String uniqueId);

    boolean SyncDeleteCaps(Long id);

    void batchPeopleHeadImages(String path, String buildId, String token, String peopleType);
}
